﻿// -----------------------------
// Copyright © Kodi Studios 2012
// -----------------------------

namespace Kodi.Picturethrill
{
    public class NetworkUtilities
    {
        public static bool InternetConnectionAvailable()
        {
            return NativeMethods.InternetCheckConnection("http://www.google.com/", 
                dwFlags: NativeMethods.FLAG_ICC_FORCE_CONNECTION, 
                dwReserved: 0);
        }
    }
}
